package com.ruoyi.cost.domain;

import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户账户对象 cost_customer_info
 * 
 * @author zomcx
 * @date 2025-06-12
 */
@Schema(description = "客户账户对象")
public class CostCustomerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** 主键ID */
    @Schema(title = "主键ID")
    private Long costCustomerId;

    /** 用户类型 */
    @Schema(title = "用户类型")
    @Excel(name = "用户类型")
    private Long customerType;

    /** 省份 */
    @Schema(title = "省份")
    @Excel(name = "省份")
    private Long provinceCode;

    /** 地市 */
    @Schema(title = "地市")
    @Excel(name = "地市")
    private Long cityCode;

    /** 客户状态 */
    @Schema(title = "客户状态")
    @Excel(name = "客户状态")
    private Long customerStatus;

    /** 客户名称 */
    @Schema(title = "客户名称")
    @Excel(name = "客户名称")
    private String customerName;

    /** 客户号码 */
    @Schema(title = "客户号码")
    @Excel(name = "客户号码")
    private String customerPhone;

    /** 用户ID */
    @Schema(title = "用户ID")
    @Excel(name = "用户ID")
    private Long userId;

    /** 总余额 */
    @Schema(title = "总余额")
    @Excel(name = "总余额")
    private BigDecimal totalBalance;

    /** 本金余额 */
    @Schema(title = "本金余额")
    @Excel(name = "本金余额")
    private BigDecimal principalBalance;

    /** 赠送余额 */
    @Schema(title = "赠送余额")
    @Excel(name = "赠送余额")
    private BigDecimal giftBalance;

    /** 删除标志 */
    @Schema(title = "删除标志")
    private String delFlag;
    public void setCostCustomerId(Long costCustomerId) 
    {
        this.costCustomerId = costCustomerId;
    }

    public Long getCostCustomerId() 
    {
        return costCustomerId;
    }


    public void setCustomerType(Long customerType) 
    {
        this.customerType = customerType;
    }

    public Long getCustomerType() 
    {
        return customerType;
    }


    public void setProvinceCode(Long provinceCode) 
    {
        this.provinceCode = provinceCode;
    }

    public Long getProvinceCode() 
    {
        return provinceCode;
    }


    public void setCityCode(Long cityCode) 
    {
        this.cityCode = cityCode;
    }

    public Long getCityCode() 
    {
        return cityCode;
    }


    public void setCustomerStatus(Long customerStatus) 
    {
        this.customerStatus = customerStatus;
    }

    public Long getCustomerStatus() 
    {
        return customerStatus;
    }


    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }


    public void setCustomerPhone(String customerPhone) 
    {
        this.customerPhone = customerPhone;
    }

    public String getCustomerPhone() 
    {
        return customerPhone;
    }


    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }


    public void setTotalBalance(BigDecimal totalBalance) 
    {
        this.totalBalance = totalBalance;
    }

    public BigDecimal getTotalBalance() 
    {
        return totalBalance;
    }


    public void setPrincipalBalance(BigDecimal principalBalance) 
    {
        this.principalBalance = principalBalance;
    }

    public BigDecimal getPrincipalBalance() 
    {
        return principalBalance;
    }


    public void setGiftBalance(BigDecimal giftBalance) 
    {
        this.giftBalance = giftBalance;
    }

    public BigDecimal getGiftBalance() 
    {
        return giftBalance;
    }


    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("costCustomerId", getCostCustomerId())
            .append("customerType", getCustomerType())
            .append("provinceCode", getProvinceCode())
            .append("cityCode", getCityCode())
            .append("customerStatus", getCustomerStatus())
            .append("customerName", getCustomerName())
            .append("customerPhone", getCustomerPhone())
            .append("userId", getUserId())
            .append("totalBalance", getTotalBalance())
            .append("principalBalance", getPrincipalBalance())
            .append("giftBalance", getGiftBalance())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
